From: Sebastian Kemper Date: Sun, 26 Nov 2017 21:13:20 +0000 (+0100) Subject: libre: prevent re.mk from applying its own optimizations X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=7e1106ff832566d1fb0208dcb5366f838e13fa87;p=feed%2Ftelephony.git libre: prevent re.mk from applying its own optimizations Using the CFLAGS from the environment of Build/Compile the optimizations from libre now appear after OpenWrt CFLAGS, overriding them. Prevent that by disabling libre's optimization altogether. Signed-off-by: Sebastian Kemper --- diff --git a/libs/re/patches/004-prevent-optimization-meddling.patch b/libs/re/patches/004-prevent-optimization-meddling.patch new file mode 100644 index 0000000..3b7ba4f --- /dev/null +++ b/libs/re/patches/004-prevent-optimization-meddling.patch @@ -0,0 +1,10 @@ +--- a/mk/re.mk ++++ b/mk/re.mk +@@ -43,7 +43,6 @@ + + ifneq ($(RELEASE),) + CFLAGS += -DRELEASE +-OPT_SPEED=1 + endif + +